package com.thinksns.sociax.photograph.gui.activities;

import android.os.Bundle;
import android.os.PersistableBundle;
import android.support.annotation.Nullable;
import android.support.v4.app.ActivityCompat;
import android.support.v7.app.AppCompatActivity;

import com.thinksns.sociax.android.R;
import com.thinksns.sociax.t4.android.login.ActivityLogin;
import com.thinksns.sociax.t4.android.login.ActivityRegister;
import com.thinksns.sociax.unit.SociaxUIUtils;

import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Description
 * @author Linsr 2017年11月08日22:12:34
 */
public class WelcomeActivity extends AppCompatActivity {

    @Override
    public void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_photograph_login);
        ButterKnife.bind(this);
    }

    @OnClick(R.id.welcome_btn_login)
    void onLoginClick() {
        SociaxUIUtils.startActivity(this, ActivityLogin.class);
    }

    @OnClick(R.id.welcome_btn_register)
    void onRegisterClick() {
        SociaxUIUtils.startActivity(this, ActivityRegister.class);
    }
}
